/**
 * 
 */
package hu.gbalage.owlforms.impl.style;

import hu.gbalage.owlforms.OWLFormsManager;
import hu.gbalage.owlforms.api.style.FieldOrderProvider;
import hu.gbalage.owlforms.api.style.FieldTitleProvider;
import hu.gbalage.owlforms.api.style.OWLFormsStyle;

/**
 * @author Grill Balazs (balage.g@gmail.com)
 *
 */
public class OWLFormsStyleFactoryImpl implements OWLFormsStyle {

	final FieldOrderProvider orderer;
	
	final FieldTitleProvider titleer;
	
	public OWLFormsStyleFactoryImpl(OWLFormsManager manager){
		orderer = new FieldOrderProviderImpl(manager);
		titleer = new FieldTitleProviderImpl(manager);
	}
	
	/* (non-Javadoc)
	 * @see hu.gbalage.owlforms.api.style.OWLFormsStyleFactory#getFieldOrderProvider()
	 */
	public FieldOrderProvider getFieldOrderProvider() {
		return orderer;
	}

	/* (non-Javadoc)
	 * @see hu.gbalage.owlforms.api.style.OWLFormsStyleFactory#getFieldTitleProvider()
	 */
	public FieldTitleProvider getFieldTitleProvider() {
		return titleer;
	}

}
